const Profile = () => import("views/profile/Profile");

const Persen = () => import("views/profile/child/Persen.vue");
const Join = () => import("views/profile/child/Join.vue");
const Public = () => import("views/profile/child/Public.vue");
const Medal = () => import("../../views/profile/child/Medal.vue");
const Msg = () => import("../../views/profile/child/Msg.vue");

export default {
  path: "/profile",
  component: Profile,
  name:"profile",
  redirect: 'profile/persen',
  meta: {
    title: "标题"
  },
  children: [
    {
      path: 'persen',
      name: 'persen',
      component: Persen,
      meta:{
        keepAlive:true,//导航栏在该页面显示
        keepfoot:true
      }
    },
    {
      path: 'join',
      name: 'join',
      component: Join,
      meta:{
        keepAlive:true,//导航栏在该页面显示
        keepfoot:true
      }
    },
    {
      path: 'public',
      name: 'public',
      component: Public,
      meta:{
        keepAlive:true,//导航栏在该页面显示
        keepfoot:true
      }
    },
    {
      path: 'medal',
      name: 'medal',
      component: Medal,
      meta:{
        keepAlive:true,//导航栏在该页面显示
        keepfoot:true
      }
    },
    {
      path: 'msg',
      name: 'msg',
      component: Msg,
      meta:{
        keepAlive:true,//导航栏在该页面显示
        keepfoot:true
      }
    }
  ]
};
